import {reqTimeList} from '@/api'
const state = {
    timeInfo:{}
}
const mutations = {
    RECEIVE_BASE_TIME_INFO(state,timeInfo){
        state.timeInfo = timeInfo
    }
}
const actions = {
    async getTimeInfoList({commit}){
        const result = await reqTimeList()
        commit('RECEIVE_BASE_TIME_INFO',result)
        console.log(result)
    }
}
const getters = {

}
export default{
    state,
    mutations,
    actions,
    getters
}